package com.ruoyi.system.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.Date;

/**
 *
 * @author zhw
 */
@ApiModel(value="UserDataSource对象", description="数据源 表")
public class UserDataSource  implements Serializable {

  private static final long serialVersionUID = 1L;

  @ApiModelProperty(value = "自增ID")
  private Integer id;
  @ApiModelProperty(value = "用户ID")
  private Integer userId;
  @ApiModelProperty(value = "数据源名称")
  private String dataSourceName;
  @ApiModelProperty(value = "数据库地址")
  private String dataUrl;
  @ApiModelProperty(value = "数据库端口")
  private String dataPort;
  @ApiModelProperty(value = "数据库/ODBC")
  private String dataOdbc;
  @ApiModelProperty(value = "数据库用户名")
  private String dataUser;
  @ApiModelProperty(value = "数据库密码")
  private String dataPassword;
  @ApiModelProperty(value = "逻辑删除(0删除，1不删除)")
  private Integer isDelete;
  @ApiModelProperty(value = "创建人ID")
  private String createId;
  @ApiModelProperty(value = "创建人名称")
  private String createName;
  @ApiModelProperty(value = "创建时间")
  private Date createTime;
  @ApiModelProperty(value = "更新人ID")
  private String updateId;
  @ApiModelProperty(value = "更新人名称")
  private String updateName;
  @ApiModelProperty(value = "更新时间")
  private Date updateTime;

  public UserDataSource(Integer userId) {
    this.userId = userId;
  }

  public Integer getId() {
    return id;
  }

  public void setId(Integer id) {
    this.id = id;
  }

  public Integer getUserId() {
    return userId;
  }

  public void setUserId(Integer userId) {
    this.userId = userId;
  }

  public String getDataSourceName() {
    return dataSourceName;
  }

  public void setDataSourceName(String dataSourceName) {
    this.dataSourceName = dataSourceName;
  }

  public String getDataUrl() {
    return dataUrl;
  }

  public void setDataUrl(String dataUrl) {
    this.dataUrl = dataUrl;
  }

  public String getDataPort() {
    return dataPort;
  }

  public void setDataPort(String dataPort) {
    this.dataPort = dataPort;
  }

  public String getDataOdbc() {
    return dataOdbc;
  }

  public void setDataOdbc(String dataOdbc) {
    this.dataOdbc = dataOdbc;
  }

  public String getDataUser() {
    return dataUser;
  }

  public void setDataUser(String dataUser) {
    this.dataUser = dataUser;
  }

  public String getDataPassword() {
    return dataPassword;
  }

  public void setDataPassword(String dataPassword) {
    this.dataPassword = dataPassword;
  }

  public Integer getIsDelete() {
    return isDelete;
  }

  public void setIsDelete(Integer isDelete) {
    this.isDelete = isDelete;
  }

  public String getCreateId() {
    return createId;
  }

  public void setCreateId(String createId) {
    this.createId = createId;
  }

  public String getCreateName() {
    return createName;
  }

  public void setCreateName(String createName) {
    this.createName = createName;
  }

  public Date getCreateTime() {
    return createTime;
  }

  public void setCreateTime(Date createTime) {
    this.createTime = createTime;
  }

  public String getUpdateId() {
    return updateId;
  }

  public void setUpdateId(String updateId) {
    this.updateId = updateId;
  }

  public String getUpdateName() {
    return updateName;
  }

  public void setUpdateName(String updateName) {
    this.updateName = updateName;
  }

  public Date getUpdateTime() {
    return updateTime;
  }

  public void setUpdateTime(Date updateTime) {
    this.updateTime = updateTime;
  }

  public UserDataSource() {
  }
}
